package com.xxx.meter.model.http.vo;

import java.util.List;

public class MachineSwitchVo {

    private String userName;

    private List<DataVo> data;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setData(List<DataVo> data) {
        this.data = data;
    }

    public static class DataVo {

        private String equipmentkey;

        private String equipmenttypekey;

        private Long turnonofftime;

        private Integer operatingtype;

        public void setEquipmentkey(String equipmentkey) {
            this.equipmentkey = equipmentkey;
        }

        public void setEquipmenttypekey(String equipmenttypekey) {
            this.equipmenttypekey = equipmenttypekey;
        }

        public void setTime(Long turnonofftime) {
            this.turnonofftime = turnonofftime;
        }

        public void setOpenType(){
            operatingtype = 1;
        }

        public void setCloseType(){
            operatingtype = 2;
        }
    }

}
